@import "prpColor.less"; //引入prp颜色样式列表

:global {

    //ANTD按钮样式覆盖
    //---------- BEGIN ----------
    .ant-btn {
        border-radius: 2px;
    }

    .ant-btn-primary {
        background-color: @subColor01;
        border-color    : @subColor01;
    }

    .ant-btn-primary:hover,
    .ant-btn-primary:focus,
    .ant-btn-primary:active,
    .ant-btn-primary.active {
        background-color: fade(@subColor01, 80%);
        border-color    : fade(@subColor01, 80%);
    }

    .ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
        background  : @subColor01;
        border-color: @subColor01;
    }

    .ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover,
    .ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active {
        background-color: fade(@subColor01, 80%);
        border-color    : fade(@subColor01, 80%);
    }

    //---------- END ----------

    //---------- BEGIN ----------
    //zny-DataGrid分页
    .dx-pager .dx-pages .dx-page {
        border             : 1px solid @border;
        margin             : 0;
        padding            : 0;
        text-align         : center;
        display            : inline-block;
        min-width          : 32px;
        height             : 32px;
        margin-right       : 8px;
        font-family        : Arial;
        line-height        : 30px;
        vertical-align     : middle;
        list-style         : none;
        background-color   : #fff;
        outline            : 0;
        cursor             : pointer;
        -webkit-user-select: none;
        -moz-user-select   : none;
        -ms-user-select    : none;
        user-select        : none;
    }

    .dx-pager .dx-pages .dx-next-button,
    .dx-pager .dx-pages .dx-prev-button {
        border             : 1px solid @border;
        margin             : 0;
        padding            : 0;
        text-align         : center;
        font-size          : 12px;
        line-height        : 30px;
        min-width          : 32px;
        height             : 32px;
        display            : inline-block;
        vertical-align     : middle;
        list-style         : none;
        background-color   : #fff;
        outline            : 0;
        cursor             : pointer;
        -webkit-user-select: none;
        -moz-user-select   : none;
        -ms-user-select    : none;
        user-select        : none;
        box-sizing         : border-box;
        border-radius      : 2px;
    }

    .dx-pager .dx-pages .dx-next-button:before,
    .dx-pager .dx-pages .dx-prev-button:before {
        top       : 0;
        margin-top: 0;
    }

    .dx-pager .dx-pages .dx-prev-button {
        margin-right: 8px;
    }

    .dx-pager .dx-page-sizes .dx-selection,
    .dx-pager .dx-pages .dx-selection {
        background-color: #fff;
        color           : @subColor01;
        border-color    : @subColor01;
    }


    //---------- END ----------

    .dx-visibility-change-handler {
        width: 100% !important;
    }

    //FORM表单样式覆盖
    //---------- BEGIN ----------
    .dx-datagrid-headers {
        color        : #333;
        border-bottom: 0;

        .dx-datagrid-table {
            tr:first-child {
                background-color: #f9f9f9;
            }
        }
    }

    .ant-descriptions-bordered .ant-descriptions-item-label {
        white-space: nowrap;
        width      : 200px;
    }

    .zny-form_devForm .zny-form_stickyWrapper {
        border-top: 0;
        position  : relative;
    }

    .ant-descriptions-bordered .ant-descriptions-item-content {
        text-align: justify;
    }

    //---------- END ----------
}